/**
 *
 *	浅蓝色样式
 *  
 *	1. 背景使用了swf文件中的lightblue这个symbol，这是个淡蓝色渐变的背景
 *	2. 应用的主题色为蓝灰色(themeColor: #869ca7)
 *
 *
 *
*/

/* 应用的样式全局设置 */
.global {
   
}
Application {
   /* backgroundImage: Embed(source="background.swf",symbol="slategray");*/
   themeColor: #869ca7;
   backgroundGradientColors: #9bafb9, #535f66;
   backgroundSize:"100%";
   fontSize: 12;
   fontWeight: normal;
}


/* 公用的样式 */
		
		/* 容器内组件的边距 */
.padding5 {
	paddingTop:5;
	paddingBottom:5;
	paddingLeft:5;
	paddingRight:5;	
}


.padding10 {
	paddingTop:10;
	paddingBottom:5;
	paddingLeft:10;
	paddingRight:10;	
}

Canvas {
    color: #000000;	
}

/* 常用组件的样式 */
ApplicationControlBar {
   backgroundImage:	Embed(source="background.swf",symbol="AppControlBar-blue");
   backgroundSize:"100%";
   paddingBottom: 2;
   paddingTop: 2;
   paddingLeft: 5;   
   paddingRight:0;
   align:center;
   borderStyle:solid;
   borderColor:#ffffff;
}

Button {
	/* 淡蓝色 */
	disabledSkin: Embed(source="background.swf", symbol="mac-blue-disabled");
	downSkin: Embed(source="background.swf", symbol="mac-blue-down");
	overSkin: Embed(source="background.swf", symbol="mac-blue-over");
	upSkin: Embed(source="background.swf", symbol="mac-blue-up");  
	/* 淡黄色 */
	/*
	disabledSkin: Embed(source="background.swf", symbol="mac-yellow-disabled");
	downSkin: Embed(source="background.swf", symbol="mac-yellow-down");
	overSkin: Embed(source="background.swf", symbol="mac-yellow-over");
	upSkin: Embed(source="background.swf", symbol="mac-yellow-up");  
	*/
}


Panel {
   borderSkin: Embed(source="background.swf", symbol="panel");
   headerHeight: 25;	
   highlightAlphas: 0.7, 0;
   borderColor: #FFFFFF;
   /*headerColors: #50789E , #B6C8DA;*/
   
   borderAlpha: 0.7;
   borderThicknessLeft: 2;
   borderThicknessTop: 2;
   borderThicknessBottom: 5;
   borderThicknessRight: 2;   
   
}

TitleWindow {
   closeButtonUpSkin: Embed(source="background.swf", symbol="window-close-up");
   closeButtonOverSkin: Embed(source="background.swf", symbol="window-close-over");
   closeButtonDownSkin: Embed(source="background.swf", symbol="window-close-down");
   disabledSkin: Embed(source="background.swf", symbol="window-close-disabled");
}

ComboBox {
   cornerRadius: 0;
   dropDownStyleName: "myComboBoxDropDowns";
}

LinkButton {
   cornerRadius: 0;
   height:15;
}

	
		/* 数据显示表格 */
DataGrid {
   headerColors: #cccccc, #ffffff;
   headerStyleName: "mydataGridHeaderStyle";
}

.mydataGridHeaderStyle {
   fontWeight: bold;
   fontSize: 12;
   fontStyle: normal;
   text-align:center
}

.myComboBoxDropDowns {
   borderThickness: 1;
}



		/* 导航属性页面 */
TabNavigator {
   paddingTop:0;
   color: #000000;	
   
   tabStyleName: "buttonBarButton";
   firstTabStyleName: "firstButtonBarButton";
   lastTabStyleName: "lastButtonBarButton";
   selectedTabTextStyleName: "mySelectedTabs";
   
}

.myTabs {
   cornerRadius: 0;
   themeColor: #999999;
   fillColors: #B6C8DA, #50789E;

}

.mySelectedTabs {
   color: #000000;
}

		/* 按钮组 */

ButtonBar 
{ 
        buttonStyleName: "buttonBarButton"; 
        firstButtonStyleName: "firstButtonBarButton"; 
        lastButtonStyleName: "lastButtonBarButton";
        buttonHeight: 24;
}

ToggleButtonBar 
{ 
        buttonStyleName: "buttonBarButton"; 
        firstButtonStyleName: "firstButtonBarButton"; 
        lastButtonStyleName: "lastButtonBarButton";
}


.firstButtonBarButton 
{ 
        upSkin: Embed(source="background.swf", symbol= "buttonbar-blue-first-up");  
        disabledSkin: Embed(source="background.swf", symbol="buttonbar-blue-first-disabled"); 
        downSkin: Embed(source="background.swf", symbol="buttonbar-blue-first-down"); 
        overSkin: Embed(source="background.swf", symbol="buttonbar-blue-first-over"); 
        /*
        selectedDisabledSkin: Embed(source="background.swf", symbol="ButtonBar_firstSelectedDisabledSkin"); 
        selectedDownSkin: Embed(source="background.swf", symbol="ButtonBar_firstSelectedUpSkin"); 
        */
        selectedOverSkin: Embed(source="background.swf", symbol="buttonbar-blue-first-selected");
        selectedUpSkin: Embed(source="background.swf", symbol="buttonbar-blue-first-selected");
}
.buttonBarButton 
{ 
        upSkin: Embed(source="background.swf", symbol="buttonbar-blue-up"); 
        disabledSkin: Embed(source="background.swf", symbol="buttonbar-blue-disabled"); 
        downSkin: Embed(source="background.swf", symbol="buttonbar-blue-down"); 
        overSkin: Embed(source="background.swf", symbol="buttonbar-blue-over"); 
        /*
        selectedDisabledSkin: Embed(source="background.swf", symbol="ButtonBar_buttonSelectedDisabledSkin"); 
        selectedDownSkin: Embed(source="background.swf", symbol="ButtonBar_buttonSelectedUpSkin"); 
        */
        selectedOverSkin: Embed(source="background.swf", symbol="buttonbar-blue-selected");
        selectedUpSkin: Embed(source="background.swf", symbol="buttonbar-blue-selected");
}

.lastButtonBarButton 
{ 
        upSkin: Embed(source="background.swf", symbol="buttonbar-blue-last-up"); 
        disabledSkin: Embed(source="background.swf", symbol="buttonbar-blue-last-disabled"); 
        downSkin: Embed(source="background.swf", symbol="buttonbar-blue-last-down"); 
        overSkin: Embed(source="background.swf", symbol="buttonbar-blue-last-over"); 
        /*
        selectedDisabledSkin: Embed(source="background.swf", symbol="ButtonBar_lastSelectedDisabledSkin"); 
        selectedDownSkin: Embed(source="background.swf", symbol="ButtonBar_lastSelectedUpSkin"); 
        */
        selectedOverSkin: Embed(source="background.swf", symbol="buttonbar-blue-last-selected");
        selectedUpSkin: Embed(source="background.swf", symbol="buttonbar-blue-last-selected");
}

		/* 提示信息 */
ToolTip {
   fontSize: 12;
   backgroundImage: Embed(source="background.swf",symbol="tooltip-yellow");
   backgroundSize: "100%";
}
.errorTip {
    color: #FFFFFF;
    fontSize: 12;
    fontWeight: "bold";
    shadowColor: #000000;
    borderColor: #CE2929;
    borderStyle: "errorTipRight";
    paddingBottom: 4;
    paddingLeft: 4;
    paddingRight: 4;
    paddingTop: 4;
}

